package com.naizhuai.ui.entity.Task;

import java.io.Serializable;
import java.util.List;

/**
 * @author：lichenxi
 * @date 2018/5/10 16
 * email：525603977@qq.com
 * Fighting
 */
public class TaskFlowItem implements Serializable {
    public static final String DOING="DOING";
    public static final String PREPARE="PREPARE";
    public static final String COMPLETED = "COMPLETE";
    /**
     * flowStartTime : 1521002638
     * flowEndTime : 1520852367
     * step : 1
     * flowName : 我就是个流程标题
     * status : DOING
     * statusName : 进行中
     * flowImage : http://inte-image.oss-cn-beijing.aliyuncs.com/ad/20180328/1c61f4a76191f62686379f4fe77357b9.jpg
     * username : 张三
     * uid : 616540685
     * thumb : http://inte-image.oss-cn-beijing.aliyuncs.com/ad/20180413/40ba3c5cf183da9d9122f0b5373d286f.jpg
     * redPoint : 0
     */

    public String flowStartTime;
    public String flowEndTime;
    public String step;
    public String status;
    public String statusName;
    public String username;
    public String uid;
    public String thumb;
    public String redPoint;
    public String flowName;
    public String flowId;
    public String flowImage;
    public String flowCircleType;
    public List<String> flowDetail;
   public FlowItem getFlow(){
      return new FlowItem(flowName,flowId,flowImage,flowCircleType,flowDetail);
   }

 public static class  FlowItem implements Serializable{
      public String flowName;
      public String flowId;
     public String flowCircleType;

     public FlowItem(String flowName, String flowId, String flowCircleType) {
         this.flowName = flowName;
         this.flowId = flowId;
         this.flowCircleType = flowCircleType;
     }

     public String flowImage;
      public List<String> flowDetail;

      public FlowItem(String flowName, String flowId, String flowImage, String flowCircleType, List<String> flowDetail) {
          this.flowName = flowName;
          this.flowId = flowId;
          this.flowImage = flowImage;
          this.flowCircleType = flowCircleType;
          this.flowDetail = flowDetail;
      }


  }
}
